package snow.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import snow.Impl.BaseServiceImpl;

/**
 * @author : liqun
 * @createTime : 2022/5/25 16:56
 */
@RestController
@RequestMapping("/base")
public class BaseController {
    @Autowired
    private BaseServiceImpl baseService;

    @GetMapping("/hello")
    public String hello (){
        System.out.println(baseService.hello());
        return baseService.hello();
    }
}
